package com.thomas.framework.dao;


import com.thomas.framework.core.IDao;
import com.thomas.framework.entity.SysRole;
import com.thomas.framework.entity.SysUser;

import java.util.Map;
import java.util.Set;

/**
 * Created by taohj on 2014/4/16.
 */
public interface ISysRoleDao extends IDao<SysRole> {


    boolean authorize(Map<String,Object> map);


    void authorizeDelete(SysRole role);

    Set<SysRole> selectByUser(SysUser user);

}
